package QL;

import java.util.Map;

public class ButlerPlayerDifficultySetRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 玩家Id
    /// </summary>
    public long UserId;

    /// <summary>
    /// 难度级别 012下分 456上分
    /// </summary>
    public long DifficultyLevel;

    /// <summary>
    /// 输多少分或赢多少分？小于0代表输，大于0代表赢
    /// </summary>
    public long DestCurrency;

    @Override
    public String GetApiName()
    {
        return "butler.player.difficulty.set";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("user_id", String.valueOf(UserId));
        map.put("difficulty_level", String.valueOf(DifficultyLevel));
        map.put("dest_currency", String.valueOf(DestCurrency));
    }
}
